package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class DropMethodSpecification implements AlterTypeAction {

    private int beginIndex;
    private int endIndex;
    private SpecificMethodSpecificationDesignator specificMethodSpecificationDesignator;

    public DropMethodSpecification(int beginIndex,
                                   int endIndex,
                                   SpecificMethodSpecificationDesignator specificMethodSpecificationDesignator) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.specificMethodSpecificationDesignator = specificMethodSpecificationDesignator;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public SpecificMethodSpecificationDesignator getSpecificMethodSpecificationDesignator() {
        return specificMethodSpecificationDesignator;
    }

}
